The Dreamweaver JavaScript API > File manipulation functions > dom.removeFontMarkup()

 

dom.removeFontMarkup()

Availability

Dreamweaver 3.0

Description

Removes the specified attribute and its value from a FONT tag. If removing the attribute would leave only <FONT>, then the FONT tag is also removed.

Arguments

attribute

attribute must be "face", "size", or "color".

Returns

Nothing.

Enabler

None.